package com.syy.controller.admin.task.vo.task;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;

@Schema(description = "管理后台 - 退回流程任务的 Request VO")
@Data
@Accessors(chain = true)
public class BpmTaskReturnReqVO {

    @NotEmpty(message = "任务编号不能为空")
    private String id;

    @NotEmpty(message = "退回到的任务 Key 不能为空")
    private String targetTaskDefinitionKey;

    @NotEmpty(message = "退回意见不能为空")
    private String reason;

}
